<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * SimplyPost
 *
 * @author		Pascal Kriete
 * @package		SimplyPost
 * @copyright	Copyright (c) 2008, Pascal Kriete
 * @license 	http://www.gnu.org/licenses/lgpl.txt
 */

// ------------------------------------------------------------------------

/**
 * Omnipresent Helper Functions
 *
 * @package		SimplyPost
 * @subpackage	Helpers
 * @category	Helpers
 * @author		Pascal Kriete
 */

// ------------------------------------------------------------------------

/**
 * Set html title
 *
 * @access	public
 * @param	string	title to be displayed.
 * @return	void
 */
function set_title($title='Forum')
{
	$CI =& get_instance();
	//$output =& load_class('Output');
	
	$data['title'] = $title;

	$CI->output->final_output = $CI->parser->parse('global/header', $data, TRUE) . $CI->output->final_output;
}

?>